package com.dmap.admin.service.backgroundv1;

import com.dmap.admin.bo.user.UserInfo;
import com.dmap.admin.controller.background.param.UserParam;
import com.dmap.admin.po.AdminUser;
import com.dmap.admin.vo.UserVo;

/**
 * \* User: silent
 * \* Date: 08/12/17 Time: 10:46
 * \* Description:
 * \
 */
public interface UserService {


    boolean insertUser(UserParam param);

    boolean updateUser(UserParam param);

    boolean deleteUser(long userId);

    UserVo selectUserInfo(String account, Integer pageIndex, Integer pageSize);

    AdminUser selectByAccount(String account, String password);

    boolean isExistSelectByAccount(String account);

    AdminUser selectUserById(long id);

    UserInfo selectUserByAccount(String account);
}
